package com.abbas.wallerpaper.ui;

import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.LinearSnapHelper;
import androidx.recyclerview.widget.RecyclerView;

import android.os.Bundle;

import com.abbas.wallerpaper.R;
import com.abbas.wallerpaper.base.BaseActivity;

public class Detail3Activity extends BaseActivity {
    private RecyclerView rv;


    @Override
    protected int getLayoutId() {
        return R.layout.activity_detail3;

    }

    @Override
    protected void init() {
        rv = (RecyclerView) findViewById(R.id.rv);

        LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this,LinearLayoutManager.HORIZONTAL,false);
        rv.setLayoutManager(linearLayoutManager);

        new LinearSnapHelper().attachToRecyclerView(rv);


    }

    @Override
    protected void initEvent() {

    }
}